Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[build] Fix for #4326 -- GitHub Action VMs running MacOS are unreliable. #4327

Merged
merged 2 commits into from
Nov 17, 2024

Conversation

kaby76
Copy link
Contributor

@kaby76 kaby76 commented Nov 14, 2024

This PR fixes #4326.

With this change, the parse step is bypassed for MacOS. The bnf grammar was updated to test the PR.

Unfortunately, this won't fix the spurious hangs of the MacOS runners that we see. Google has a problem with the runner code and/or is using too few servers, or is using the slowest servers on the planet. However, bypassing the MacOS tester is a small price to pay to increase the chance for the tests to be completed in a reasonable amount of time. We need a compilation and link for C++ under the MacOS environment because it is the rate-limiting factor in the code we write for the C++ target.

Just yesterday, in antlr/antlr4, a PR was submitted in which 39 runners completed in a minute or two on Windows and Ubuntu. However, the PR sat around for a MacOS test to complete in 1h 25m, with the setup of PHP taking the majority of the time at 1h 23m!

@kaby76 kaby76 marked this pull request as ready for review November 14, 2024 20:19
@kaby76 kaby76 mentioned this pull request Nov 16, 2024
@teverett
Copy link
Member

@kaby76 thanks.

@teverett teverett merged commit 6d94809 into antlr:master Nov 17, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[build] Macos VM runners are unreliable.
2 participants